package com.zerui.manager.web.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.time.LocalDateTime;

/**
 * @Author wh
 * @create_time 2023-08-29 16:56
 */
@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude
public class AccessAuthPageVO {

	@ApiModelProperty("主键，无业务含义")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Long id;

	@ApiModelProperty("门禁组名称")
	private String name;

	@ApiModelProperty("日期类型 0:始终有效 1：日期范围")
	private Integer dateType;

	@ApiModelProperty("日期")
	private String date;

	@ApiModelProperty("时间类型 0:全体有效 1：时间范围")
	private Integer timeType;

	@ApiModelProperty("时间")
	private String time;

	@ApiModelProperty("备注")
	private String remark;

	@ApiModelProperty("创建时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING,pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
	private LocalDateTime createTime;

}
